projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c92479
)
(custom-theme-add-variable): Don't add `custom-enabled-themes'.
author
Chong Yidong
<cyd@stupidchicken.com>
Fri, 13 Jan 2006 02:35:30 +0000
(
02:35
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Fri, 13 Jan 2006 02:35:30 +0000
(
02:35
+0000)
lisp/cus-theme.el
patch
|
blob
|
history
diff --git
a/lisp/cus-theme.el
b/lisp/cus-theme.el
index afb760a7d4e303c5bcd13c92d9f01c73997b5231..502220d278d94385235dc9afa3aa050a06384bd9 100644
(file)
--- a/
lisp/cus-theme.el
+++ b/
lisp/cus-theme.el
@@
-160,6
+160,8
@@
the directory " custom-theme-directory "\n\n")
(message "%s is already in the theme" (symbol-name symbol)))
((not (boundp symbol))
(message "%s is not defined as a variable" (symbol-name symbol)))
+ ((eq symbol 'custom-enabled-themes)
+ (message "Custom theme cannot contain `custom-enabled-themes'"))
(t
(widget-insert "\n")
(let ((widget (widget-create 'custom-variable